package com.xtkj.superclub_entity.entity.tourpal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目名称：superclub
 * 类 名 称：TeamAuthorityRole
 * 类 描 述：TODO 队伍权限角色
 * 创建时间：2019/12/25 22:10
 * 创 建 人：xiezhiyan
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString
@TableName(value = "team_authority_role_map")
public class TeamAuthorityRole implements Serializable {

    @TableId(value = "team_role_id",type = IdType.INPUT)
    private String teamRoleId;//队伍角色id
    private String teamAuthorityId;//队伍权限id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdtm;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updatedtm;//修改时间


}